# -*- coding: utf-8 -*- 

###########################################################################
## Python code generated with wxFormBuilder (version Feb  9 2012)
## http://www.wxformbuilder.org/
##
## PLEASE DO "NOT" EDIT THIS FILE!
###########################################################################

import wx
import wx.xrc

###########################################################################
## Class wiz_settings_page
###########################################################################

class wiz_settings_page ( wx.Panel ):
	
	def __init__( self, parent ):
		wx.Panel.__init__ ( self, parent, id = wx.ID_ANY, pos = wx.DefaultPosition, size = wx.Size( 600,400 ), style = wx.TAB_TRAVERSAL )
		
		bSizer14 = wx.BoxSizer( wx.HORIZONTAL )
		
		self.m_bitmap1 = wx.StaticBitmap( self, wx.ID_ANY, wx.Bitmap( u"images/dnasmaller.jpg", wx.BITMAP_TYPE_ANY ), wx.DefaultPosition, wx.Size( 150,300 ), 0 )
		bSizer14.Add( self.m_bitmap1, 0, wx.ALL, 5 )
		
		self.m_panel1 = wx.Panel( self, wx.ID_ANY, wx.DefaultPosition, wx.DefaultSize, wx.TAB_TRAVERSAL )
		bSizer2 = wx.BoxSizer( wx.VERTICAL )
		
		self.CurrentStepTitle = wx.StaticText( self.m_panel1, wx.ID_ANY, u"Project settings", wx.DefaultPosition, wx.DefaultSize, 0 )
		self.CurrentStepTitle.Wrap( -1 )
		self.CurrentStepTitle.SetFont( wx.Font( wx.NORMAL_FONT.GetPointSize(), 70, 90, 92, False, wx.EmptyString ) )
		
		bSizer2.Add( self.CurrentStepTitle, 0, wx.ALL, 5 )
		
		self.page_description = wx.StaticText( self.m_panel1, wx.ID_ANY, u"Enter a title for the new project and select a location on disk to save it to.", wx.DefaultPosition, wx.DefaultSize, 0 )
		self.page_description.Wrap( 310 )
		bSizer2.Add( self.page_description, 0, wx.ALL, 5 )
		
		self.m_staticline9 = wx.StaticLine( self.m_panel1, wx.ID_ANY, wx.DefaultPosition, wx.DefaultSize, wx.LI_HORIZONTAL )
		bSizer2.Add( self.m_staticline9, 0, wx.EXPAND |wx.ALL, 5 )
		
		gSizer1 = wx.GridSizer( 2, 2, 0, 0 )
		
		self.m_staticText19 = wx.StaticText( self.m_panel1, wx.ID_ANY, u"Project title:", wx.DefaultPosition, wx.DefaultSize, 0 )
		self.m_staticText19.Wrap( -1 )
		gSizer1.Add( self.m_staticText19, 0, wx.ALL, 5 )
		
		self.project_title = wx.TextCtrl( self.m_panel1, wx.ID_ANY, u"my_project", wx.DefaultPosition, wx.Size( 250,-1 ), wx.TE_NOHIDESEL )
		gSizer1.Add( self.project_title, 1, wx.ALL, 5 )
		
		self.m_staticText3 = wx.StaticText( self.m_panel1, wx.ID_ANY, u"Location:", wx.DefaultPosition, wx.DefaultSize, 0 )
		self.m_staticText3.Wrap( -1 )
		gSizer1.Add( self.m_staticText3, 0, wx.ALL, 5 )
		
		self.project_location = wx.DirPickerCtrl( self.m_panel1, wx.ID_ANY, wx.EmptyString, u"Select a folder", wx.DefaultPosition, wx.Size( 250,-1 ), wx.DIRP_DEFAULT_STYLE|wx.DIRP_USE_TEXTCTRL )
		gSizer1.Add( self.project_location, 0, wx.ALL, 5 )
		
		
		gSizer1.AddSpacer( ( 0, 0), 1, wx.EXPAND, 5 )
		
		dbms_choiceChoices = [ u"SQLite (max 2000 SNPs)", u"MonetDB (Unlimited SNPs)" ]
		self.dbms_choice = wx.RadioBox( self.m_panel1, wx.ID_ANY, u"DB system", wx.DefaultPosition, wx.Size( 250,-1 ), dbms_choiceChoices, 1, wx.RA_SPECIFY_COLS )
		self.dbms_choice.SetSelection( 0 )
		gSizer1.Add( self.dbms_choice, 1, wx.ALL|wx.EXPAND, 5 )
		
		
		bSizer2.Add( gSizer1, 1, wx.EXPAND, 5 )
		
		bSizer13 = wx.BoxSizer( wx.VERTICAL )
		
		self.message = wx.StaticText( self.m_panel1, wx.ID_ANY, wx.EmptyString, wx.DefaultPosition, wx.DefaultSize, 0 )
		self.message.Wrap( -1 )
		self.message.SetForegroundColour( wx.Colour( 255, 45, 0 ) )
		
		bSizer13.Add( self.message, 0, wx.ALL, 5 )
		
		
		bSizer2.Add( bSizer13, 1, wx.EXPAND, 5 )
		
		
		self.m_panel1.SetSizer( bSizer2 )
		self.m_panel1.Layout()
		bSizer2.Fit( self.m_panel1 )
		bSizer14.Add( self.m_panel1, 1, wx.EXPAND |wx.ALL, 5 )
		
		
		self.SetSizer( bSizer14 )
		self.Layout()
	
	def __del__( self ):
		pass
	

###########################################################################
## Class wiz_genotype_page
###########################################################################

class wiz_genotype_page ( wx.Panel ):
	
	def __init__( self, parent ):
		wx.Panel.__init__ ( self, parent, id = wx.ID_ANY, pos = wx.DefaultPosition, size = wx.Size( 600,400 ), style = wx.TAB_TRAVERSAL )
		
		bSizer14 = wx.BoxSizer( wx.HORIZONTAL )
		
		self.m_bitmap1 = wx.StaticBitmap( self, wx.ID_ANY, wx.Bitmap( u"images/dnasmaller.jpg", wx.BITMAP_TYPE_ANY ), wx.DefaultPosition, wx.Size( 150,300 ), 0 )
		bSizer14.Add( self.m_bitmap1, 0, wx.ALL, 5 )
		
		self.m_panel1 = wx.Panel( self, wx.ID_ANY, wx.DefaultPosition, wx.DefaultSize, wx.TAB_TRAVERSAL )
		bSizer2 = wx.BoxSizer( wx.VERTICAL )
		
		self.CurrentStepTitle = wx.StaticText( self.m_panel1, wx.ID_ANY, u"Import genotype data", wx.DefaultPosition, wx.DefaultSize, 0 )
		self.CurrentStepTitle.Wrap( -1 )
		self.CurrentStepTitle.SetFont( wx.Font( wx.NORMAL_FONT.GetPointSize(), 70, 90, 92, False, wx.EmptyString ) )
		
		bSizer2.Add( self.CurrentStepTitle, 0, wx.ALL, 5 )
		
		self.m_staticline1 = wx.StaticLine( self.m_panel1, wx.ID_ANY, wx.DefaultPosition, wx.DefaultSize, wx.LI_HORIZONTAL )
		bSizer2.Add( self.m_staticline1, 0, wx.EXPAND |wx.ALL, 5 )
		
		self.page_description = wx.StaticText( self.m_panel1, wx.ID_ANY, u"Import the genotype data that you wish to work on in this project.", wx.DefaultPosition, wx.DefaultSize, 0 )
		self.page_description.Wrap( 300 )
		bSizer2.Add( self.page_description, 0, wx.ALL|wx.EXPAND, 5 )
		
		bSizer41 = wx.BoxSizer( wx.HORIZONTAL )
		
		self.m_staticText3 = wx.StaticText( self.m_panel1, wx.ID_ANY, u"Select a genotype file :", wx.DefaultPosition, wx.DefaultSize, 0 )
		self.m_staticText3.Wrap( -1 )
		bSizer41.Add( self.m_staticText3, 0, wx.ALL|wx.ALIGN_CENTER_VERTICAL, 5 )
		
		self.genotype_file_picker = wx.FilePickerCtrl( self.m_panel1, wx.ID_ANY, wx.EmptyString, u"Select a file", u"*.*", wx.DefaultPosition, wx.DefaultSize, wx.FLP_DEFAULT_STYLE )
		bSizer41.Add( self.genotype_file_picker, 1, wx.ALL, 5 )
		
		self.online_help_link = wx.HyperlinkCtrl( self.m_panel1, wx.ID_ANY, u"help", u"https://code.google.com/p/epistasis-on-grid/wiki/InputDataFormats#Import_genotypes", wx.DefaultPosition, wx.DefaultSize, wx.HL_DEFAULT_STYLE )
		bSizer41.Add( self.online_help_link, 0, wx.ALL|wx.ALIGN_CENTER_VERTICAL, 5 )
		
		
		bSizer2.Add( bSizer41, 0, wx.EXPAND|wx.ALL, 5 )
		
		bSizer131 = wx.BoxSizer( wx.VERTICAL )
		
		self.message = wx.StaticText( self.m_panel1, wx.ID_ANY, u"Please import genotypes.", wx.DefaultPosition, wx.DefaultSize, 0 )
		self.message.Wrap( -1 )
		self.message.SetFont( wx.Font( 10, 74, 93, 90, False, "sans" ) )
		self.message.SetForegroundColour( wx.SystemSettings.GetColour( wx.SYS_COLOUR_WINDOWTEXT ) )
		
		bSizer131.Add( self.message, 0, wx.ALL, 5 )
		
		
		bSizer131.AddSpacer( ( 0, 100), 1, wx.EXPAND, 5 )
		
		
		bSizer2.Add( bSizer131, 0, wx.EXPAND, 5 )
		
		
		bSizer2.AddSpacer( ( 0, 0), 1, wx.EXPAND, 5 )
		
		
		self.m_panel1.SetSizer( bSizer2 )
		self.m_panel1.Layout()
		bSizer2.Fit( self.m_panel1 )
		bSizer14.Add( self.m_panel1, 1, wx.EXPAND |wx.ALL, 5 )
		
		
		self.SetSizer( bSizer14 )
		self.Layout()
		
		# Connect Events
		self.genotype_file_picker.Bind( wx.EVT_FILEPICKER_CHANGED, self.OnGenotypeFileSelected )
	
	def __del__( self ):
		pass
	
	
	# Virtual event handlers, overide them in your derived class
	def OnGenotypeFileSelected( self, event ):
		event.Skip()
	

###########################################################################
## Class wiz_phenotype_page
###########################################################################

class wiz_phenotype_page ( wx.Panel ):
	
	def __init__( self, parent ):
		wx.Panel.__init__ ( self, parent, id = wx.ID_ANY, pos = wx.DefaultPosition, size = wx.Size( 600,400 ), style = wx.TAB_TRAVERSAL )
		
		bSizer14 = wx.BoxSizer( wx.HORIZONTAL )
		
		self.m_bitmap1 = wx.StaticBitmap( self, wx.ID_ANY, wx.Bitmap( u"images/dnasmaller.jpg", wx.BITMAP_TYPE_ANY ), wx.DefaultPosition, wx.Size( 150,300 ), 0 )
		bSizer14.Add( self.m_bitmap1, 0, wx.ALL, 5 )
		
		self.m_panel1 = wx.Panel( self, wx.ID_ANY, wx.DefaultPosition, wx.DefaultSize, wx.TAB_TRAVERSAL )
		bSizer2 = wx.BoxSizer( wx.VERTICAL )
		
		self.CurrentStepTitle = wx.StaticText( self.m_panel1, wx.ID_ANY, u"Import phenotype data", wx.DefaultPosition, wx.DefaultSize, 0 )
		self.CurrentStepTitle.Wrap( -1 )
		self.CurrentStepTitle.SetFont( wx.Font( wx.NORMAL_FONT.GetPointSize(), 70, 90, 92, False, wx.EmptyString ) )
		
		bSizer2.Add( self.CurrentStepTitle, 0, wx.ALL, 5 )
		
		self.m_staticline1 = wx.StaticLine( self.m_panel1, wx.ID_ANY, wx.DefaultPosition, wx.DefaultSize, wx.LI_HORIZONTAL )
		bSizer2.Add( self.m_staticline1, 0, wx.EXPAND |wx.ALL, 5 )
		
		self.page_description = wx.StaticText( self.m_panel1, wx.ID_ANY, u"Import the phenotype data that you wish to use in this project.", wx.DefaultPosition, wx.DefaultSize, 0 )
		self.page_description.Wrap( 300 )
		bSizer2.Add( self.page_description, 0, wx.ALL, 5 )
		
		bSizer41 = wx.BoxSizer( wx.HORIZONTAL )
		
		self.m_staticText3 = wx.StaticText( self.m_panel1, wx.ID_ANY, u"Select a phenotype file :", wx.DefaultPosition, wx.DefaultSize, 0 )
		self.m_staticText3.Wrap( -1 )
		bSizer41.Add( self.m_staticText3, 0, wx.ALL|wx.ALIGN_CENTER_VERTICAL, 5 )
		
		self.phenotype_file_picker = wx.FilePickerCtrl( self.m_panel1, wx.ID_ANY, wx.EmptyString, u"Select a file", u"*.*", wx.DefaultPosition, wx.DefaultSize, wx.FLP_DEFAULT_STYLE )
		bSizer41.Add( self.phenotype_file_picker, 1, wx.ALL, 5 )
		
		self.online_help_link = wx.HyperlinkCtrl( self.m_panel1, wx.ID_ANY, u"help", u"https://code.google.com/p/epistasis-on-grid/wiki/InputDataFormats#Import_phenotypes", wx.DefaultPosition, wx.DefaultSize, wx.HL_DEFAULT_STYLE )
		bSizer41.Add( self.online_help_link, 0, wx.ALL|wx.ALIGN_CENTER_VERTICAL, 5 )
		
		
		bSizer2.Add( bSizer41, 0, wx.EXPAND|wx.ALL, 5 )
		
		bSizer13 = wx.BoxSizer( wx.VERTICAL )
		
		self.message = wx.StaticText( self.m_panel1, wx.ID_ANY, u"Please import phenotypes.", wx.DefaultPosition, wx.DefaultSize, 0 )
		self.message.Wrap( -1 )
		self.message.SetFont( wx.Font( 10, 74, 93, 90, False, "sans" ) )
		self.message.SetForegroundColour( wx.SystemSettings.GetColour( wx.SYS_COLOUR_WINDOWTEXT ) )
		
		bSizer13.Add( self.message, 0, wx.ALL, 5 )
		
		
		bSizer2.Add( bSizer13, 1, wx.EXPAND, 5 )
		
		
		bSizer2.AddSpacer( ( 0, 0), 1, wx.EXPAND, 5 )
		
		
		self.m_panel1.SetSizer( bSizer2 )
		self.m_panel1.Layout()
		bSizer2.Fit( self.m_panel1 )
		bSizer14.Add( self.m_panel1, 1, wx.EXPAND |wx.ALL, 5 )
		
		
		self.SetSizer( bSizer14 )
		self.Layout()
		
		# Connect Events
		self.phenotype_file_picker.Bind( wx.EVT_FILEPICKER_CHANGED, self.OnPhenotypeFileSelected )
	
	def __del__( self ):
		pass
	
	
	# Virtual event handlers, overide them in your derived class
	def OnPhenotypeFileSelected( self, event ):
		event.Skip()
	

###########################################################################
## Class wiz_class_page
###########################################################################

class wiz_class_page ( wx.Panel ):
	
	def __init__( self, parent ):
		wx.Panel.__init__ ( self, parent, id = wx.ID_ANY, pos = wx.DefaultPosition, size = wx.Size( 600,400 ), style = wx.TAB_TRAVERSAL )
		
		bSizer14 = wx.BoxSizer( wx.HORIZONTAL )
		
		self.m_bitmap1 = wx.StaticBitmap( self, wx.ID_ANY, wx.Bitmap( u"images/dnasmaller.jpg", wx.BITMAP_TYPE_ANY ), wx.DefaultPosition, wx.Size( 150,300 ), 0 )
		bSizer14.Add( self.m_bitmap1, 0, wx.ALL, 5 )
		
		self.m_panel1 = wx.Panel( self, wx.ID_ANY, wx.DefaultPosition, wx.DefaultSize, wx.TAB_TRAVERSAL )
		bSizer2 = wx.BoxSizer( wx.VERTICAL )
		
		self.CurrentStepTitle = wx.StaticText( self.m_panel1, wx.ID_ANY, u"Import partition data", wx.DefaultPosition, wx.DefaultSize, 0 )
		self.CurrentStepTitle.Wrap( -1 )
		self.CurrentStepTitle.SetFont( wx.Font( wx.NORMAL_FONT.GetPointSize(), 70, 90, 92, False, wx.EmptyString ) )
		
		bSizer2.Add( self.CurrentStepTitle, 0, wx.ALL, 5 )
		
		self.m_staticline1 = wx.StaticLine( self.m_panel1, wx.ID_ANY, wx.DefaultPosition, wx.DefaultSize, wx.LI_HORIZONTAL )
		bSizer2.Add( self.m_staticline1, 0, wx.EXPAND |wx.ALL, 5 )
		
		self.page_description = wx.StaticText( self.m_panel1, wx.ID_ANY, u"Import the class data that you wish to use in this project.", wx.DefaultPosition, wx.DefaultSize, 0 )
		self.page_description.Wrap( 300 )
		bSizer2.Add( self.page_description, 0, wx.ALL, 5 )
		
		bSizer43 = wx.BoxSizer( wx.HORIZONTAL )
		
		self.class_radio_button = wx.RadioButton( self.m_panel1, wx.ID_ANY, u"Import class file", wx.DefaultPosition, wx.Size( 150,-1 ), 0 )
		self.class_radio_button.SetValue( True ) 
		bSizer43.Add( self.class_radio_button, 0, wx.ALL, 5 )
		
		
		bSizer2.Add( bSizer43, 0, wx.EXPAND, 5 )
		
		bSizer36 = wx.BoxSizer( wx.VERTICAL )
		
		bSizer41 = wx.BoxSizer( wx.HORIZONTAL )
		
		
		bSizer41.AddSpacer( ( 25, 0), 0, 0, 5 )
		
		self.class_text = wx.StaticText( self.m_panel1, wx.ID_ANY, u"Select a class file :", wx.DefaultPosition, wx.Size( 200,-1 ), 0 )
		self.class_text.Wrap( -1 )
		bSizer41.Add( self.class_text, 0, wx.ALL|wx.ALIGN_CENTER_VERTICAL, 5 )
		
		self.class_file_picker = wx.FilePickerCtrl( self.m_panel1, wx.ID_ANY, wx.EmptyString, u"Select a file", u"*.*", wx.DefaultPosition, wx.Size( -1,-1 ), wx.FLP_DEFAULT_STYLE )
		bSizer41.Add( self.class_file_picker, 1, wx.ALL|wx.EXPAND, 5 )
		
		self.online_help_link1 = wx.HyperlinkCtrl( self.m_panel1, wx.ID_ANY, u"help", u"https://code.google.com/p/epistasis-on-grid/wiki/InputDataFormats#Import_partition_information", wx.DefaultPosition, wx.DefaultSize, wx.HL_DEFAULT_STYLE )
		bSizer41.Add( self.online_help_link1, 0, wx.ALL|wx.ALIGN_CENTER_VERTICAL, 5 )
		
		
		bSizer36.Add( bSizer41, 0, wx.EXPAND|wx.ALL, 5 )
		
		
		bSizer2.Add( bSizer36, 1, wx.EXPAND, 5 )
		
		
		bSizer2.AddSpacer( ( 0, 0), 1, wx.EXPAND, 5 )
		
		bSizer361 = wx.BoxSizer( wx.VERTICAL )
		
		bSizer42 = wx.BoxSizer( wx.HORIZONTAL )
		
		self.partition_radio_button = wx.RadioButton( self.m_panel1, wx.ID_ANY, u"Import partition file", wx.DefaultPosition, wx.Size( 150,-1 ), 0 )
		bSizer42.Add( self.partition_radio_button, 0, wx.ALL, 5 )
		
		
		bSizer361.Add( bSizer42, 0, wx.EXPAND, 5 )
		
		bSizer411 = wx.BoxSizer( wx.HORIZONTAL )
		
		
		bSizer411.AddSpacer( ( 25, 0), 0, 0, 5 )
		
		self.partition_text = wx.StaticText( self.m_panel1, wx.ID_ANY, u"Select a partition file :", wx.DefaultPosition, wx.Size( 200,-1 ), 0 )
		self.partition_text.Wrap( -1 )
		self.partition_text.Enable( False )
		
		bSizer411.Add( self.partition_text, 0, wx.ALL|wx.ALIGN_CENTER_VERTICAL, 5 )
		
		self.partition_file_picker = wx.FilePickerCtrl( self.m_panel1, wx.ID_ANY, wx.EmptyString, u"Select a file", u"*.*", wx.DefaultPosition, wx.DefaultSize, wx.FLP_DEFAULT_STYLE )
		self.partition_file_picker.Enable( False )
		
		bSizer411.Add( self.partition_file_picker, 1, wx.ALL, 5 )
		
		self.online_help_link = wx.HyperlinkCtrl( self.m_panel1, wx.ID_ANY, u"help", u"https://code.google.com/p/epistasis-on-grid/wiki/InputDataFormats#Import_partition_information", wx.DefaultPosition, wx.DefaultSize, wx.HL_DEFAULT_STYLE )
		bSizer411.Add( self.online_help_link, 0, wx.ALL|wx.ALIGN_CENTER_VERTICAL, 5 )
		
		
		bSizer361.Add( bSizer411, 0, wx.EXPAND|wx.RIGHT|wx.LEFT, 5 )
		
		
		bSizer2.Add( bSizer361, 0, wx.EXPAND, 5 )
		
		bSizer4111 = wx.BoxSizer( wx.HORIZONTAL )
		
		
		bSizer4111.AddSpacer( ( 25, 0), 0, 0, 5 )
		
		self.partition_threshold_label = wx.StaticText( self.m_panel1, wx.ID_ANY, u"Threshold value [0-1]:", wx.DefaultPosition, wx.Size( 200,-1 ), 0 )
		self.partition_threshold_label.Wrap( -1 )
		self.partition_threshold_label.Enable( False )
		
		bSizer4111.Add( self.partition_threshold_label, 0, wx.ALL|wx.ALIGN_CENTER_VERTICAL, 5 )
		
		self.partition_threshold = wx.TextCtrl( self.m_panel1, wx.ID_ANY, u"0.9", wx.DefaultPosition, wx.DefaultSize, 0 )
		self.partition_threshold.Enable( False )
		
		bSizer4111.Add( self.partition_threshold, 0, wx.ALL|wx.ALIGN_CENTER_VERTICAL, 5 )
		
		
		bSizer2.Add( bSizer4111, 0, wx.EXPAND|wx.RIGHT|wx.LEFT, 5 )
		
		
		bSizer2.AddSpacer( ( 0, 15), 0, 0, 5 )
		
		bSizer13 = wx.BoxSizer( wx.VERTICAL )
		
		self.message = wx.StaticText( self.m_panel1, wx.ID_ANY, u" Please import subject partition information.", wx.DefaultPosition, wx.DefaultSize, 0 )
		self.message.Wrap( -1 )
		self.message.SetFont( wx.Font( 10, 74, 93, 90, False, "sans" ) )
		self.message.SetForegroundColour( wx.SystemSettings.GetColour( wx.SYS_COLOUR_WINDOWTEXT ) )
		
		bSizer13.Add( self.message, 0, wx.ALL, 5 )
		
		
		bSizer2.Add( bSizer13, 1, wx.EXPAND, 5 )
		
		
		bSizer2.AddSpacer( ( 0, 0), 1, wx.EXPAND, 5 )
		
		bSizer34 = wx.BoxSizer( wx.HORIZONTAL )
		
		self.import_btn = wx.Button( self.m_panel1, wx.ID_ANY, u"Import", wx.DefaultPosition, wx.DefaultSize, 0 )
		bSizer34.Add( self.import_btn, 0, wx.ALL, 5 )
		
		self.stop_btn = wx.Button( self.m_panel1, wx.ID_ANY, u"Stop", wx.DefaultPosition, wx.DefaultSize, 0 )
		self.stop_btn.Enable( False )
		self.stop_btn.Hide()
		
		bSizer34.Add( self.stop_btn, 0, wx.ALL, 5 )
		
		
		bSizer2.Add( bSizer34, 0, wx.ALIGN_RIGHT, 5 )
		
		
		self.m_panel1.SetSizer( bSizer2 )
		self.m_panel1.Layout()
		bSizer2.Fit( self.m_panel1 )
		bSizer14.Add( self.m_panel1, 1, wx.EXPAND |wx.ALL, 5 )
		
		
		self.SetSizer( bSizer14 )
		self.Layout()
		
		# Connect Events
		self.class_file_picker.Bind( wx.EVT_FILEPICKER_CHANGED, self.OnClassFileSelected )
		self.partition_file_picker.Bind( wx.EVT_FILEPICKER_CHANGED, self.OnClassFileSelected )
	
	def __del__( self ):
		pass
	
	
	# Virtual event handlers, overide them in your derived class
	def OnClassFileSelected( self, event ):
		event.Skip()
	
	

###########################################################################
## Class wiz_class_page_old
###########################################################################

class wiz_class_page_old ( wx.Panel ):
	
	def __init__( self, parent ):
		wx.Panel.__init__ ( self, parent, id = wx.ID_ANY, pos = wx.DefaultPosition, size = wx.Size( 600,400 ), style = wx.TAB_TRAVERSAL )
		
		bSizer14 = wx.BoxSizer( wx.HORIZONTAL )
		
		self.m_bitmap1 = wx.StaticBitmap( self, wx.ID_ANY, wx.Bitmap( u"images/dnasmaller.jpg", wx.BITMAP_TYPE_ANY ), wx.DefaultPosition, wx.Size( 150,300 ), 0 )
		bSizer14.Add( self.m_bitmap1, 0, wx.ALL, 5 )
		
		self.m_panel1 = wx.Panel( self, wx.ID_ANY, wx.DefaultPosition, wx.DefaultSize, wx.TAB_TRAVERSAL )
		bSizer2 = wx.BoxSizer( wx.VERTICAL )
		
		self.CurrentStepTitle = wx.StaticText( self.m_panel1, wx.ID_ANY, u"Import class data", wx.DefaultPosition, wx.DefaultSize, 0 )
		self.CurrentStepTitle.Wrap( -1 )
		self.CurrentStepTitle.SetFont( wx.Font( wx.NORMAL_FONT.GetPointSize(), 70, 90, 92, False, wx.EmptyString ) )
		
		bSizer2.Add( self.CurrentStepTitle, 0, wx.ALL, 5 )
		
		self.m_staticline1 = wx.StaticLine( self.m_panel1, wx.ID_ANY, wx.DefaultPosition, wx.DefaultSize, wx.LI_HORIZONTAL )
		bSizer2.Add( self.m_staticline1, 0, wx.EXPAND |wx.ALL, 5 )
		
		self.page_description = wx.StaticText( self.m_panel1, wx.ID_ANY, u"Import the class data that you wish to use in this project.", wx.DefaultPosition, wx.DefaultSize, 0 )
		self.page_description.Wrap( 300 )
		bSizer2.Add( self.page_description, 0, wx.ALL, 5 )
		
		bSizer41 = wx.BoxSizer( wx.HORIZONTAL )
		
		self.m_staticText3 = wx.StaticText( self.m_panel1, wx.ID_ANY, u"Select a class file :", wx.DefaultPosition, wx.DefaultSize, 0 )
		self.m_staticText3.Wrap( -1 )
		bSizer41.Add( self.m_staticText3, 0, wx.ALL|wx.ALIGN_CENTER_VERTICAL, 5 )
		
		self.class_file_picker = wx.FilePickerCtrl( self.m_panel1, wx.ID_ANY, wx.EmptyString, u"Select a file", u"*.*", wx.DefaultPosition, wx.DefaultSize, wx.FLP_DEFAULT_STYLE )
		bSizer41.Add( self.class_file_picker, 1, wx.ALL, 5 )
		
		
		bSizer2.Add( bSizer41, 0, wx.EXPAND|wx.ALL, 5 )
		
		bSizer13 = wx.BoxSizer( wx.VERTICAL )
		
		self.message = wx.StaticText( self.m_panel1, wx.ID_ANY, u"Please import Classes.", wx.DefaultPosition, wx.DefaultSize, 0 )
		self.message.Wrap( -1 )
		self.message.SetFont( wx.Font( 10, 74, 93, 90, False, "sans" ) )
		self.message.SetForegroundColour( wx.SystemSettings.GetColour( wx.SYS_COLOUR_WINDOWTEXT ) )
		
		bSizer13.Add( self.message, 0, wx.ALL, 5 )
		
		
		bSizer2.Add( bSizer13, 1, wx.EXPAND, 5 )
		
		
		bSizer2.AddSpacer( ( 0, 100), 1, wx.EXPAND, 5 )
		
		
		self.m_panel1.SetSizer( bSizer2 )
		self.m_panel1.Layout()
		bSizer2.Fit( self.m_panel1 )
		bSizer14.Add( self.m_panel1, 1, wx.EXPAND |wx.ALL, 5 )
		
		
		self.SetSizer( bSizer14 )
		self.Layout()
		
		# Connect Events
		self.class_file_picker.Bind( wx.EVT_FILEPICKER_CHANGED, self.OnClassFileSelected )
	
	def __del__( self ):
		pass
	
	
	# Virtual event handlers, overide them in your derived class
	def OnClassFileSelected( self, event ):
		event.Skip()
	

###########################################################################
## Class init_page
###########################################################################

class init_page ( wx.Panel ):
	
	def __init__( self, parent ):
		wx.Panel.__init__ ( self, parent, id = wx.ID_ANY, pos = wx.DefaultPosition, size = wx.Size( 500,300 ), style = wx.TAB_TRAVERSAL )
		
		bSizer14 = wx.BoxSizer( wx.HORIZONTAL )
		
		self.m_bitmap1 = wx.StaticBitmap( self, wx.ID_ANY, wx.Bitmap( u"images/dnasmaller.jpg", wx.BITMAP_TYPE_ANY ), wx.DefaultPosition, wx.Size( 150,300 ), 0 )
		bSizer14.Add( self.m_bitmap1, 0, wx.ALL, 5 )
		
		self.m_panel1 = wx.Panel( self, wx.ID_ANY, wx.DefaultPosition, wx.DefaultSize, wx.TAB_TRAVERSAL )
		bSizer20 = wx.BoxSizer( wx.VERTICAL )
		
		self.m_staticText25 = wx.StaticText( self.m_panel1, wx.ID_ANY, u"Welcome to Epistasis On Grid", wx.DefaultPosition, wx.DefaultSize, 0 )
		self.m_staticText25.Wrap( -1 )
		self.m_staticText25.SetFont( wx.Font( wx.NORMAL_FONT.GetPointSize(), 70, 90, 92, False, wx.EmptyString ) )
		
		bSizer20.Add( self.m_staticText25, 0, wx.ALL, 5 )
		
		
		bSizer20.AddSpacer( ( 0, 0), 0, 0, 5 )
		
		self.m_staticline9 = wx.StaticLine( self.m_panel1, wx.ID_ANY, wx.DefaultPosition, wx.DefaultSize, wx.LI_HORIZONTAL )
		bSizer20.Add( self.m_staticline9, 0, wx.EXPAND |wx.ALL, 5 )
		
		
		bSizer20.AddSpacer( ( 0, 0), 0, 0, 5 )
		
		bSizer24 = wx.BoxSizer( wx.VERTICAL )
		
		self.m_staticText26 = wx.StaticText( self.m_panel1, wx.ID_ANY, u"Get started:", wx.DefaultPosition, wx.DefaultSize, 0 )
		self.m_staticText26.Wrap( -1 )
		bSizer24.Add( self.m_staticText26, 0, wx.ALL, 5 )
		
		
		bSizer24.AddSpacer( ( 0, 0), 0, 0, 5 )
		
		bSizer32 = wx.BoxSizer( wx.VERTICAL )
		
		self.radioBtn_new_prj = wx.RadioButton( self.m_panel1, wx.ID_ANY, u"Create a new project", wx.DefaultPosition, wx.DefaultSize, 0 )
		bSizer32.Add( self.radioBtn_new_prj, 1, wx.ALL|wx.EXPAND, 5 )
		
		
		bSizer24.Add( bSizer32, 0, wx.EXPAND, 5 )
		
		gSizer6 = wx.GridSizer( 0, 2, 0, 0 )
		
		self.radioBtn_open_prj = wx.RadioButton( self.m_panel1, wx.ID_ANY, u"Open a project from file", wx.DefaultPosition, wx.DefaultSize, 0 )
		gSizer6.Add( self.radioBtn_open_prj, 1, wx.ALL|wx.EXPAND, 5 )
		
		self.open_prj_path = wx.FilePickerCtrl( self.m_panel1, wx.ID_ANY, wx.EmptyString, u"Select a file", u"*.*", wx.DefaultPosition, wx.DefaultSize, wx.FLP_DEFAULT_STYLE )
		self.open_prj_path.Enable( False )
		
		gSizer6.Add( self.open_prj_path, 1, wx.ALL|wx.EXPAND|wx.FIXED_MINSIZE, 5 )
		
		self.radioBtn_recent_prj = wx.RadioButton( self.m_panel1, wx.ID_ANY, u"Open a recent project", wx.DefaultPosition, wx.DefaultSize, 0 )
		self.radioBtn_recent_prj.SetValue( True ) 
		gSizer6.Add( self.radioBtn_recent_prj, 1, wx.ALL|wx.FIXED_MINSIZE|wx.EXPAND, 5 )
		
		recent_prj_pathChoices = [ u"No recent project..." ]
		self.recent_prj_path = wx.Choice( self.m_panel1, wx.ID_ANY, wx.DefaultPosition, wx.DefaultSize, recent_prj_pathChoices, 0 )
		self.recent_prj_path.SetSelection( 0 )
		gSizer6.Add( self.recent_prj_path, 1, wx.ALL|wx.EXPAND|wx.FIXED_MINSIZE|wx.ALIGN_RIGHT, 5 )
		
		
		bSizer24.Add( gSizer6, 1, wx.EXPAND, 5 )
		
		
		bSizer20.Add( bSizer24, 0, 0, 5 )
		
		
		self.m_panel1.SetSizer( bSizer20 )
		self.m_panel1.Layout()
		bSizer20.Fit( self.m_panel1 )
		bSizer14.Add( self.m_panel1, 1, wx.EXPAND|wx.ALL, 5 )
		
		
		self.SetSizer( bSizer14 )
		self.Layout()
	
	def __del__( self ):
		pass
	

###########################################################################
## Class import_status_page
###########################################################################

class import_status_page ( wx.Panel ):
	
	def __init__( self, parent ):
		wx.Panel.__init__ ( self, parent, id = wx.ID_ANY, pos = wx.Point( 100,100 ), size = wx.Size( 300,100 ), style = wx.SIMPLE_BORDER|wx.TAB_TRAVERSAL )
		
		bSizer24 = wx.BoxSizer( wx.VERTICAL )
		
		self.import_page_title = wx.StaticText( self, wx.ID_ANY, u"Importing data...", wx.DefaultPosition, wx.DefaultSize, 0 )
		self.import_page_title.Wrap( -1 )
		bSizer24.Add( self.import_page_title, 0, wx.ALL|wx.ALIGN_CENTER_HORIZONTAL, 5 )
		
		self.m_staticText23 = wx.StaticText( self, wx.ID_ANY, u"Please wait while data is imported.", wx.DefaultPosition, wx.DefaultSize, 0 )
		self.m_staticText23.Wrap( -1 )
		bSizer24.Add( self.m_staticText23, 0, wx.ALL|wx.EXPAND, 5 )
		
		self.progress_gauge = wx.Gauge( self, wx.ID_ANY, 100, wx.DefaultPosition, wx.DefaultSize, wx.GA_HORIZONTAL )
		bSizer24.Add( self.progress_gauge, 0, wx.ALL|wx.EXPAND, 5 )
		
		
		self.SetSizer( bSizer24 )
		self.Layout()
	
	def __del__( self ):
		pass
	

###########################################################################
## Class wiz_subject_page
###########################################################################

class wiz_subject_page ( wx.Panel ):
	
	def __init__( self, parent ):
		wx.Panel.__init__ ( self, parent, id = wx.ID_ANY, pos = wx.DefaultPosition, size = wx.Size( 500,300 ), style = wx.TAB_TRAVERSAL )
		
		bSizer14 = wx.BoxSizer( wx.HORIZONTAL )
		
		self.m_bitmap1 = wx.StaticBitmap( self, wx.ID_ANY, wx.Bitmap( u"images/dnasmaller.jpg", wx.BITMAP_TYPE_ANY ), wx.DefaultPosition, wx.Size( 150,300 ), 0 )
		bSizer14.Add( self.m_bitmap1, 0, wx.ALL, 5 )
		
		self.m_panel1 = wx.Panel( self, wx.ID_ANY, wx.DefaultPosition, wx.DefaultSize, wx.TAB_TRAVERSAL )
		bSizer2 = wx.BoxSizer( wx.VERTICAL )
		
		self.CurrentStepTitle = wx.StaticText( self.m_panel1, wx.ID_ANY, u"Import subject data", wx.DefaultPosition, wx.DefaultSize, 0 )
		self.CurrentStepTitle.Wrap( -1 )
		self.CurrentStepTitle.SetFont( wx.Font( wx.NORMAL_FONT.GetPointSize(), 70, 90, 92, False, wx.EmptyString ) )
		
		bSizer2.Add( self.CurrentStepTitle, 0, wx.ALL, 5 )
		
		self.m_staticline1 = wx.StaticLine( self.m_panel1, wx.ID_ANY, wx.DefaultPosition, wx.DefaultSize, wx.LI_HORIZONTAL )
		bSizer2.Add( self.m_staticline1, 0, wx.EXPAND |wx.ALL, 5 )
		
		self.page_description = wx.StaticText( self.m_panel1, wx.ID_ANY, u"Import the class data that you wish to use in this project.", wx.DefaultPosition, wx.DefaultSize, 0 )
		self.page_description.Wrap( 300 )
		bSizer2.Add( self.page_description, 0, wx.ALL, 5 )
		
		bSizer41 = wx.BoxSizer( wx.HORIZONTAL )
		
		self.m_staticText3 = wx.StaticText( self.m_panel1, wx.ID_ANY, u"Select a file :", wx.DefaultPosition, wx.DefaultSize, 0 )
		self.m_staticText3.Wrap( -1 )
		bSizer41.Add( self.m_staticText3, 0, wx.ALL, 5 )
		
		self.subject_file_picker = wx.FilePickerCtrl( self.m_panel1, wx.ID_ANY, wx.EmptyString, u"Select a file", u"*.*", wx.DefaultPosition, wx.DefaultSize, wx.FLP_DEFAULT_STYLE )
		bSizer41.Add( self.subject_file_picker, 1, wx.ALL, 5 )
		
		
		bSizer2.Add( bSizer41, 0, wx.EXPAND|wx.ALL, 5 )
		
		self.import_status_msg = wx.StaticText( self.m_panel1, wx.ID_ANY, wx.EmptyString, wx.DefaultPosition, wx.DefaultSize, 0 )
		self.import_status_msg.Wrap( -1 )
		bSizer2.Add( self.import_status_msg, 0, wx.ALL|wx.ALIGN_CENTER_HORIZONTAL, 5 )
		
		
		bSizer2.AddSpacer( ( 0, 100), 1, wx.EXPAND, 5 )
		
		
		self.m_panel1.SetSizer( bSizer2 )
		self.m_panel1.Layout()
		bSizer2.Fit( self.m_panel1 )
		bSizer14.Add( self.m_panel1, 1, wx.EXPAND |wx.ALL, 5 )
		
		
		self.SetSizer( bSizer14 )
		self.Layout()
	
	def __del__( self ):
		pass
	

